Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds public exports for the OASF (Open Agentic Schema Framework) taxonomies that are already bundled in the SDK but were not accessible to consumers.
Problem
The SDK includes OASF taxonomies internally (
src/taxonomies/all_skills.jsonandall_domains.json) which are used for agent categorization. However, these taxonomies are not exported from the package, forcing downstream projects to:Real-world example
In the trust8004 project, we need to map user-provided skills/domains to standardized OASF slugs. Currently, we maintain local copies of
all_skills.jsonandall_domains.jsonto do this mapping:This creates a maintenance burden and risk of inconsistency.
Solution
Export the taxonomies via a new subpath export
agent0-sdk/taxonomies:Changes
1. New file:
src/taxonomies/index.tsCreates a public API for taxonomies with typed exports:
OASF_SKILLS- Full skills taxonomy dataOASF_DOMAINS- Full domains taxonomy dataOASF_SKILL_SLUGS- Set of valid skill slugs (for validation)OASF_DOMAIN_SLUGS- Set of valid domain slugs (for validation)OASF_VERSION- Current OASF version bundled in SDK2. Updated:
package.jsonAdded new export path:
3. Updated:
src/index.tsRe-exports taxonomies from main entry point for convenience.
Usage Examples
Validate skills against OASF taxonomy
Map user input to OASF slugs
Check OASF version
Benefits
Checklist
src/taxonomies/index.tswith typed exportspackage.jsonexportsRelated